package com.zt.mapper;

import com.zt.system.FinancialProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 不.凌
* @description 针对表【financial_product】的数据库操作Mapper
* @createDate 2024-09-03 17:43:57
* @Entity com.zt.system.FinancialProduct
*/
public interface FinancialProductMapper extends BaseMapper<FinancialProduct> {
//    赎回利率
    Double getRedemptionRate(@Param("number") Integer number,@Param("productName")String productName);
//    已购产品
    Double getBoughtProduct(@Param("number") Integer number,@Param("productName")String productName);
}




